import axios from "./index";

/**
 * 根据token换取用户信息
 */
export function whoAmI() {
    return axios.get('/api/user/whoami')
}